DreamTool V001
Readme

This tool was created by Neo : 
http://borokobo.web.fc2.com/neo/index.html

Translated by UraKn0x

How to use DreamTool

1.Place the original japanese Kirby's Adventure Rom (It works as map viewer on US and Europe versions, but cannot save changes)
2.Drop a project folder in DreamTool. To create a new project, drop an empty folder.

You now can start hacking!

In window title, you'll see the mode you are in and the ID of the room you are editing with format : Room:id(decimal)[id(hex)].
This format is also used for rooms saves.

Keys :
Q/W : Move map left/right
S/X : Move map up/down
F1  : Change mode (mode-)
F2  : Change mode (mode+)
F3  : Change room (room-)
F4  : Change room (room+)
F5  : Save room
F11 : Compile
Tab : Switch display mode

The display modes are : 
	-Normal view
	-Type of tile view (Yellow outlined : wall; blue : water; IN : door; green arrow : can pass only in this direction; green ladder : ladder)
	-Grey mask (I don't know how to use this mode)

Before editing a room, please pool the attribute you want to edit (map, objects, doors). It will erease it, but then you will be able to edit and save the room.
If a room has already be edited, you may not pool its attributes.

In map editing mode:
Chipset is at bottom-right corner.
Select a tile on chipset and place it on the map with left click.
You can also change selected tile with arrow keys.
Right click : pick tile on terrain.
You can fill :
	-In the horizontal direction by pressing Shift+Click
	-In the vertical direction by pressing Ctrl+click
	-An area by pressing Shift+Ctrl+Click
Select an area with central mouse button and press C to use the selected area as stamp.
To stop paste mode, click with central mouse button anywhere on the map.

PageUp   : Undo
PageDown : Redo


In object mode:
Yellow squares are objects.
An object becomes red when selected.
Ctrl+click  : Multiple selection
Ctrl+A      : Select all

Shift+click : Create new object
Select an object and press Del to delete it.

To define an object, click on the object and select in the list at right of the screen its content.

In door mode:
Yellow squares are doors.
A room becomes red when selected.
Ctrl+click  : Multiple selection
Ctrl+A      : Select all

Shift+click : Create new door
Select a door and press Del to delete it.

To define a door, click on the door and select in the list at right of the screen its type. Then choose its destination room (in hexadecimal). The destination room will display at right of the screen. The yellow square is the destination position.

